package com.yuer.edu.service;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

// name：调⽤的服务名称，和服务提供者yml⽂件中spring.application.name保持⼀致
@FeignClient(name = "yuer-jap-resume",fallback = FeignfallbackResumeClient.class,path="/resumer")
//@FeignClient(name = "yuer-jap-resume")
//@RequestMapping("/resumer")
public interface ResumeFeignClientService {

    @GetMapping("/openstate/{userId}")
    public Integer findResumeOpenState(@PathVariable(value = "userId") Long userId);


}
